# New ports collection makefile for:	rasqal
# Date created:			Dec 6, 2009
# Whom:				Diam Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	rasqal
PORTVERSION=	0.9.19
CATEGORIES=	textproc
MASTER_SITES=	SF/librdf/${PORTNAME}/${PORTVERSION} \
		http://librdf.org/dist/source/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	A high-level interface for RDF

LIB_DEPENDS=	raptor.3:${PORTSDIR}/textproc/raptor \
		mpfr.3:${PORTSDIR}/math/mpfr \
		pcre.0:${PORTSDIR}/devel/pcre

USE_GNOME=	gnomehack gnometarget lthack pkgconfig
USE_OPENSSL=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--with-raptor=system

USE_LDCONFIG=	yes
USE_PERL5_BUILD=	yes

MAN1=		rasqal-config.1 roqet.1
MAN3=		librasqal.3

.include <bsd.port.mk>
